<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="my" uri="http://www.abc.edu.cn/aaa/bbb"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的留言界面</title>
<link rel="stylesheet" type="text/css" href="css/default.css">
<style type="text/css">
.tab {
	border-collapse: collapse;
	border: 1px solid blue;
	margin-left: 10px;
}

.tab td, .tab tr, .tab th {
	border: 1px solid #660000;
}

.tab td {
	padding: 5px;
}

.tab th {
	background: #CC6633;
}
.main{
	padding: 20px auto;
}
</style>
</head>
<body>
	<div class="all">
		<div class="logo">
			<div class="nav">
				<%@ include file="menu.jsp"%>
			</div>
		</div>
		<div class="main">
			<h1>我的足迹</h1>
			<c:set var="t" value="1"></c:set>
			<table class="tab">
				<tr>
					<th>序号</th>
					<th>标题</th>
					<th>作者</th>
					<th>浏览次数</th>
				</tr>
				<c:forEach items="${l }" var="s">
					<tr>
						<td>${t }</td>
						<td>${s.title }</td>
						<td>${my:getUserNameByID(s.uid)}</td>
						<td>${news.num}</td>
					</tr>
					<c:set var="t" value="${t+1 }"></c:set>
				</c:forEach>
			</table>
		</div>
		<div class="footer"></div>
	</div>
</body>
</html>